{extend name="../../base/view/common/base" /}
<!-- 主体 -->
{block name="body"}
<form class="layui-form p-page">
	<h3 class="pb-2">入职审批信息{eq name="$detail.status" value="2"}<span class="blue">『已入职』</span>{/eq}</h3>
	<table class="layui-table layui-table-form">
		<tr>
			<td colspan="6"><strong>基本信息</strong></td>
		</tr>
		<tr>
			<td class="layui-td-gray">员工姓名</td>
			<td>{$detail.name|default=''}</td>
			<td class="layui-td-gray-2">性别</td>
			<td>
				{eq name="$detail.sex" value="1"}男{/eq}
				{eq name="$detail.sex" value="2"}女{/eq}
			</td>
			<td rowspan="4" class="layui-td-gray-2">照片头像</td>
			<td rowspan="4" valign="top" style="width: 180px;">
				<div class="layui-upload" style="width: 180px;">
					<div class="layui-upload-list" id="uploadThumb" style="width: 100%; height:150px; overflow: hidden;">
						<img src="{:get_file($detail.thumb)}" height="150" style="max-width: 100%;" />
					</div>
				</div>
			</td>
		</tr>
		<tr>
			<td class="layui-td-gray">手机号码</td>
			<td>{$detail.mobile|default=''}</td>
			<td class="layui-td-gray">电子邮箱</td>
			<td>{$detail.email|default='-'}</td>
		</tr>
		<tr>
			<td class="layui-td-gray">出生日期</td>
			<td>{$detail.birthday|default='-'}</td>
			<td class="layui-td-gray">身份证号码</td>
			<td>{$detail.idcard|default='-'}</td>
		</tr>
		<tr>
			<td class="layui-td-gray">民族</td>
			<td>{$detail.nation|default='-'}</td>
			<td class="layui-td-gray">籍贯</td>
			<td>{$detail.native_place|default='-'}</td>
		</tr>
		<tr>
			<td class="layui-td-gray">政治面貌</td>
			<td>
				{eq name="$detail.political" value="0"}无{/eq}
				{eq name="$detail.political" value="1"}中共党员{/eq}
				{eq name="$detail.political" value="2"}共青团员{/eq}
			</td>
			<td class="layui-td-gray">婚姻状况</td>
			<td>
				{eq name="$detail.marital_status" value="1"}未婚{/eq}
				{eq name="$detail.marital_status" value="2"}已婚{/eq}
			</td>
			<td class="layui-td-gray">参加工作时间</td>
			<td>{$detail.work_date|default='-'}</td>
		</tr>
		<tr>		
			<td class="layui-td-gray">户口性质</td>
			<td>
				{eq name="$detail.resident_type" value="1"}农村户口{/eq}
				{eq name="$detail.resident_type" value="2"}城镇户口{/eq}
			</td>
			<td class="layui-td-gray">户口所在地</td>
			<td colspan="3">{$detail.resident_place|default='-'}</td>
		</tr>
		<tr>
			<td class="layui-td-gray">家庭住址</td>
			<td colspan="3">{$detail.home_address|default='-'}</td>
			<td class="layui-td-gray">紧急联系人</td>
			<td>{$detail.contact|default='-'}</td>
		</tr>
		<tr>
			<td class="layui-td-gray">现住地址</td>
			<td colspan="3">{$detail.current_address|default='-'}</td>
			<td class="layui-td-gray">紧急联系电话</td>
			<td>{$detail.contact_mobile|default='-'}</td>
		</tr>
		<tr>
			<td class="layui-td-gray">个人简介</td>
			<td colspan="5">{$detail.desc|default='-'}</td>
		</tr>
		<tr>
			<td colspan="6"><strong>教育信息</strong></td>
		</tr>
		<tr>
			<td class="layui-td-gray">毕业院校</td>
			<td colspan="3">{$detail.graduate_school|default='-'}</td>
			<td class="layui-td-gray">毕业日期</td>
			<td>{$detail.graduate_day|default='-'}</td>
		</tr>
		<tr>
			<td class="layui-td-gray">专业</td>
			<td colspan="3">{$detail.speciality|default='-'}</td>
			<td class="layui-td-gray">最高学位</td>
			<td>{$detail.education|default='-'}</td>
		</tr>		
		<tr>
			<td colspan="6"><strong>入职信息</strong></td>
		</tr>
		<tr>
			<td class="layui-td-gray">入职部门</td>
			<td>{$detail.department|default='-'}</td>
			<td class="layui-td-gray">上级主管</td>
			<td>{$detail.pname|default='-'}</td>
			<td class="layui-td-gray">入职时间</td>
			<td>{$detail.entry_time|default='-'}</td>
		</tr>
		<tr>
			<td class="layui-td-gray">岗位职称</td>
			<td>{$detail.position|default='-'}</td>
			<td class="layui-td-gray">职务</td>
			<td>{$detail.position_name_str|default='-'}</td>
			<td class="layui-td-gray">职级</td>
			<td>{$detail.position_rank_str|default='-'}</td>
		</tr>
	</table>
	<div id="checkBox" data-status="{$detail.check_status}" data-id="{$detail.id}" data-checkflowid="{$detail.check_flow_id}" class="pt-3"></div>
</form>
{/block}
<!-- /主体 -->

<!-- 脚本 -->
{block name="script"}
<script>
	const moduleInit = ['tool','oaCheck'];
	const id = {$detail.id};
	function gouguInit() {
		var form = layui.form,tool=layui.tool,oaCheck=layui.oaCheck;	
		oaCheck.init({
			check_name:'talent',
			check_reversed:null
		});
	}
</script>
{/block}
<!-- /脚本 -->